package com.ruoyi.tuanzhang.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class DarenLiveDetailsDataDto {

    @JsonProperty("st")
    private Integer st;
    @JsonProperty("code")
    private Integer code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("extra")
    private ExtraDTO extra;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class ExtraDTO {
        @JsonProperty("now")
        private Long now;
        @JsonProperty("log_id")
        private String logId;
    }

    @NoArgsConstructor
    @Data
    public static class DataDTO {

        @JsonProperty("total")
        private Integer total;

        // 直播列表数据
        @JsonProperty("list")
        private List<LiveDetailsDataDto> list;
    }
}
